home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 November: Tool Chest / Dev.CD Nov 00 TC Disk 2.toast / pc / sample code / quicktime / quicktimeintro / play movie w.controller / common files / winprefix.h < prev   
Encoding:
Text File  |  2000-10-06  |  1.2 KB  |  62 lines

  1. //////////
  2. //
  3. //    File:        WinPrefix.h
  4. //
  5. //    Contains:    Prefix file for our Windows projects.
  6. //
  7. //    Written by:    Tim Monroe
  8. //
  9. //    Copyright:    © 1999 by Apple Computer, Inc., all rights reserved.
  10. //
  11. //    Change History (most recent first):
  12. //       
  13. //       <1>         11/11/99    rtm        first file
  14. //
  15. //////////
  16.  
  17. #pragma once
  18.  
  19. #ifndef __Prefix_File__
  20. #define __Prefix_File__
  21.  
  22.  
  23. //////////
  24. //
  25. // header files
  26. //
  27. //////////
  28.  
  29. #if !defined(_MSC_VER)
  30. #include <Win32Headers.mch>
  31. #else
  32. #include <ConditionalMacros.h>
  33. #endif
  34.  
  35.  
  36. //////////
  37. //
  38. // compiler macros
  39. //
  40. //////////
  41.  
  42. #ifndef PASCAL_RTN
  43. #define PASCAL_RTN
  44. #endif
  45.  
  46.  
  47. //////////
  48. //
  49. // compiler pragmas
  50. //
  51. //////////
  52.  
  53. // if we're being compiled by Microsoft Visual C++, turn off some warnings
  54. #if defined(_MSC_VER) && !defined(__MWERKS__) 
  55.     #pragma warning(disable:4068)        // ignore unknown pragmas
  56.     #pragma warning(disable:4244)        // ignore conversion from "long" to "short", possible loss of data
  57.     #pragma warning(disable:4761)        // ignore integral size mismatch in argument: conversion supplied
  58.     #pragma warning(disable:4129)        // ignore 'p': unrecognized character escape sequence
  59.     #pragma warning(disable:4229)        // ignore anachronism used: modifiers on data are ignored
  60. #endif
  61.  
  62. #endif    // __Prefix_File__